package com.aibaixun.common.utils;

import com.google.gson.Gson;

/**
 * gson处理工具类
 */
public class GsonUtils {
    private static final Gson gson = new Gson();

    public static <T> T convertStringToObject(String jsonString, Class<T> clazz) {
        return gson.fromJson(jsonString, clazz);
    }
}
